<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
 <head> 
  <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
  <link href="css/admin.css" type="text/css" rel="stylesheet" /> 
  <script language="javascript">
            function expand(el)
            {
                childobj = document.getElementById("child" + el);

                if (childobj.style.display == 'none')
                {
                    childobj.style.display = 'block';
                }
                else
                {
                    childobj.style.display = 'none';
                }
                return;
            }
        </script> 
 </head> 
 <body> 
 <!--  <table height="100%" cellspacing="0" cellpadding="0" width="170" background="/home/img/menu_bg.jpg" border="0"> 
   <tbody>
    <tr> 
     <td valign="top" align="middle"> 
      <table cellspacing="0" cellpadding="0" width="100%" border="0"> 
       <tbody>
        <tr> 
         <td height="10"></td>
        </tr>
       </tbody>
      </table> 
      <table cellspacing="0" cellpadding="0" width="150" border="0"> 
      </table>
      <table cellspacing="0" cellpadding="0" width="150" border="0"> 
       <tbody>
        <tr height="22"> 
         <td style="padding-left: 30px" background="/home/img/menu_bt.jpg"><a class="menuparent" onclick="expand(2)" href="javascript:void(0);">新闻中心</a> </td> 
        </tr> 
        <tr height="4"> 
         <td></td> 
        </tr> 
       </tbody>
      </table> 
      <table id="child2" style="display: none" cellspacing="0" cellpadding="0" width="150" border="0"> 
       <tbody>
        <tr height="20"> 
         <td align="middle" width="30"><img height="9" src="/home/img/menu_icon.gif" width="9" /></td> 
         <td><a class="menuchild" href="#" target="main">员工新闻</a></td> 
        </tr> 
        <tr height="20"> 
         <td align="middle" width="30"><img height="9" src="/home/img/menu_icon.gif" width="9" /></td> 
         <td><a class="menuchild" href="#" target="main">主管新闻</a></td> 
        </tr> 
        <tr height="20"> 
         <td align="middle" width="30"><img height="9" src="/home/img/menu_icon.gif" width="9" /></td> 
         <td><a class="menuchild" href="#" target="main">经理新闻</a></td> 
        </tr> 
        <tr height="4"> 
         <td colspan="2"></td>
        </tr>
       </tbody>
      </table>  -->





      {foreach $fathers as $father}
      <table cellspacing="0" cellpadding="0" width="150" border="0"> 
       <tbody>
        <tr height="22"> 
         <td style="padding-left: 30px" background="/home/img/menu_bt.jpg"><a class="menuparent" onclick="expand(3)" href="javascript:void(0);">{$father['auth_name']}</a></td>
        </tr> 
        <tr height="4"> 
         <td></td>
        </tr>
       </tbody>
      </table> 
      <table id="child3" style="display: none" cellspacing="0" cellpadding="0" width="150" border="0"> 
       <tbody>
       {foreach $sons as $son}
          {if $son['auth_pid']==$father['auth_id']}
        <tr height="20"> 
         <td align="middle" width="30"><img height="9" src="/home/img/menu_icon.gif" width="9" /></td> 
         <td><a class="menuchild" href="#" target="main">{$son['auth_name']}</a></td>
        </tr> 
          {/if}
       {/foreach}

        <tr height="4"> 
         <td colspan="2"></td>
        </tr>
       </tbody>
      </table> 
      {/foreach}



     <!--  <table cellspacing="0" cellpadding="0" width="150" border="0"> 
       <tbody>
        <tr height="22"> 
         <td style="padding-left: 30px" background="/home/img/menu_bt.jpg"><a class="menuparent" onclick="expand(6)" href="javascript:void(0);">高级管理</a></td>
        </tr> 
        <tr height="4"> 
         <td></td>
        </tr>
       </tbody>
      </table> 
      <table id="child6" style="display: none" cellspacing="0" cellpadding="0" width="150" border="0"> 
       <tbody>
        <tr height="20"> 
         <td align="middle" width="30"><img height="9" src="/home/img/menu_icon.gif" width="9" /></td> 
         <td><a class="menuchild" href="#" target="main">广告管理</a></td>
        </tr> 
        <tr height="20"> 
         <td align="middle" width="30"><img height="9" src="/home/img/menu_icon.gif" width="9" /></td> 
         <td><a class="menuchild" href="#" target="main">访问统计</a></td>
        </tr> 
        <tr height="20"> 
         <td align="middle" width="30"><img height="9" src="/home/img/menu_icon.gif" width="9" /></td> 
         <td><a class="menuchild" href="#" target="main">招聘职位</a></td>
        </tr> 
        <tr height="20"> 
        </tr>
       </tbody>
      </table>
      <table cellspacing="0" cellpadding="0" width="150" border="0"> 
      </table>  </td>
    </tr>
   </tbody>
  </table> -->


 </body>
</html>